package org.jeecg.modules.demo.sms.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 轮播广告
 * @Author: jeecg-boot
 * @Date:   2020-03-01
 * @Version: V1.0
 */
@Data
@TableName("sms_home_advertise")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="sms_home_advertise对象", description="轮播广告")
public class SmsHomeAdvertise {
    
	/**id*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
	private java.lang.Integer id;
	/**name*/
	@Excel(name = "name", width = 15)
    @ApiModelProperty(value = "name")
	private java.lang.String name;
	/**轮播位置：0->PC首页轮播；1->app首页轮播*/
	@Excel(name = "轮播位置：0->PC首页轮播；1->app首页轮播", width = 15)
    @ApiModelProperty(value = "轮播位置：0->PC首页轮播；1->app首页轮播")
	private java.lang.Integer type;
	/**pic*/
	@Excel(name = "pic", width = 15)
    @ApiModelProperty(value = "pic")
	private java.lang.String pic;
	/**startTime*/
	@Excel(name = "startTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "startTime")
	private java.util.Date startTime;
	/**endTime*/
	@Excel(name = "endTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "endTime")
	private java.util.Date endTime;
	/**上下线状态：0->下线；1->上线*/
	@Excel(name = "上下线状态：0->下线；1->上线", width = 15)
    @ApiModelProperty(value = "上下线状态：0->下线；1->上线")
	private java.lang.Integer status;
	/**点击数*/
	@Excel(name = "点击数", width = 15)
    @ApiModelProperty(value = "点击数")
	private java.lang.Integer clickCount;
	/**下单数*/
	@Excel(name = "下单数", width = 15)
    @ApiModelProperty(value = "下单数")
	private java.lang.Integer orderCount;
	/**链接地址*/
	@Excel(name = "链接地址", width = 15)
    @ApiModelProperty(value = "链接地址")
	private java.lang.String url;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
	private java.lang.String note;
	/**排序*/
	@Excel(name = "排序", width = 15)
    @ApiModelProperty(value = "排序")
	private java.lang.Integer sort;
	/**广告所属店铺*/
	@Excel(name = "广告所属店铺", width = 15)
    @ApiModelProperty(value = "广告所属店铺")
	private java.lang.Integer storeId;
}
